import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import '@/icons' // icon

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

//引入swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
//引入swiper 样式
// import 'swiper/swiper-bundle.css'
import 'swiper/css/swiper.css'

// import SwiperCore, { Autoplay, EffectCube } from 'Swiper'
// SwiperCore.use([Autoplay, EffectCube])

//注册插件
Vue.use(VueAwesomeSwiper)
Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
}).$mount('#app')
